package tjs.org.springLoader.config;

import org.springframework.context.ApplicationContext;
import tjs.org.springLoader.reloader.IReloader;

import java.util.Iterator;
import java.util.List;
import java.util.ServiceLoader;

/**
 * Created by Nicky.Tang on 2021/9/29 5:39 下午
 *
 * @since 02.12.10
 */
public class DoAutoReloader {
    private ApplicationContext applicationContext;
    private ClassLoader classLoader;
    private String[] classPathes;
    private ServiceLoader<IReloader> iReloaders;

    public DoAutoReloader(ApplicationContext applicationContext, ClassLoader classLoader, String[] classPathes) {
        this.classLoader = classLoader;
        this.classPathes = classPathes;
        this.iReloaders = ServiceLoader.load(IReloader.class);

    }

    public void doAutoReloader(){

    }
}
